package com.book.pojo;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author xuchangshuo
 * @date 2020/10/30 14:32
 */

@Table(name = "book_info_table")
public class Order {

    private int id;
    private String name;
    @Column(name = "book_img")
    private String book_img;
    private int num;
    private String phone;
    private String address;
    private String contact;
    private String status;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBook_img() {
        return book_img;
    }

    public void setBook_img(String book_img) {
        this.book_img = book_img;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", book_img='" + book_img + '\'' +
                ", num=" + num +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", contact='" + contact + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
